package com.jrx.anytxn.customer.service.impl;

import com.jrx.anytxn.customer.entity.TlCouponUseLog;
import com.jrx.anytxn.customer.mapper.base.TlCouponUseLogMapper;
import com.jrx.anytxn.customer.service.ITlCouponUseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName TlCouponUseServiceImpl
 *
 * @author lujianyou
 * @version 1.0
 * @description 优惠券使用流水服务接口 实现类
 * @date 2021/7/11 14:39
 **/
@Service
public class TlCouponUseServiceImpl implements ITlCouponUseService {

    @Autowired
    private TlCouponUseLogMapper tlCouponUseLogMapper;

    /**
     * 保存
     *
     * @param couponUseLog
     * @return
     */
    @Override
    public int save(TlCouponUseLog couponUseLog) {
        return tlCouponUseLogMapper.insert(couponUseLog);
    }
}
